package sample2;

import java.io.PrintWriter;

public class BeanSample2Impl implements BeanSample2{
	private	BeanSample2Child bsc2;
	public void setSample2Child(BeanSample2Child bsc2){
		this.bsc2 = bsc2;
	}
	public BeanSample2Child getSample2Child(){
		return this.bsc2;
	}
	public void doSample(PrintWriter out){
		out.println(bsc2.getMessage());
	}
}
